Documents for PDF, .NET Edition Documentation
FindLastIndex(StructPredicate<T>) Method

GrapeCity.Documents.Common Assembly > GrapeCity.Documents.Common Namespace > StructList<T> Class > FindLastIndex Method : FindLastIndex(StructPredicate<T>) Method
The GrapeCity.Documents.Common.StructPredicate`1 delegate that defines the conditions of the element to search for.
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the entire StructList<T>.
Syntax
'Declaration
 
Public Overloads Function FindLastIndex( _
   ByVal match As GrapeCity.Documents.Common.StructPredicate(Of T) _
) As System.Integer
public System.int FindLastIndex( 
   GrapeCity.Documents.Common.StructPredicate<T> match
)

Parameters

match
The GrapeCity.Documents.Common.StructPredicate`1 delegate that defines the conditions of the element to search for.

Return Value

The zero-based index of the last occurrence of an element that matches the conditions defined by match, if found; otherwise, –1.
See Also

Reference

StructList<T> Class
StructList<T> Members
Overload List